﻿using System.Data;
using VanTaiData;

namespace VanTaiBLL
{
    public class TMServicesFOB_BusinessLogic
    {
        public static TMServicesFOB_Controller cls = new TMServicesFOB_Controller();
        #region[Get-Data]
        public DataTable BindGirdTMServicesFOB()
        {
            return cls.BindGirdTMServicesFOB();
        }
        public DataTable BindGirdTMServicesFOB_Detail_Edit(int id)
        {
            return cls.BindGirdTMServicesFOB_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMServicesFOB(VanTaiProperty.TMServicesFOB_Property obj)
        {
            return cls.InsertTMServicesFOB(obj);
        }
        public static bool UpdateTMServicesFOB(VanTaiProperty.TMServicesFOB_Property obj)
        {
            return cls.UpdateTMServicesFOB(obj);
        }
        public static bool DeleteTMServicesFOB(int id)
        {
            return cls.DeleteTMServicesFOB(id);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}
